ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternPen Class / PatternPen Constructor / PatternPen Constructor(Int32[],Color,Int32)
A System.Int32 array indicates the pattern of the pen.
A Color indicates the color of the pen.
An int indicates the width of the pen.

In This Topic
    PatternPen Constructor(Int32[],Color,Int32)
    In This Topic
    Initializes a new instance of the PatternPen class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal pattern() As Integer, _
       ByVal color As Color, _
       ByVal width As Integer _
    )
    public PatternPen( 
       int[] pattern,
       Color color,
       int width
    )

    Parameters

    pattern
    A System.Int32 array indicates the pattern of the pen.
    color
    A Color indicates the color of the pen.
    width
    An int indicates the width of the pen.
    See Also